package day04;
//import java.util.Scanner;
public class day04lx {
    public static void main(String[] args) {
       //Scanner scan = new Scanner(System.in);
        /*System.out.println("请选择功能:1.取款 2.存款 3.转账 4.退出" );
        int command = scan.nextInt();
        switch (command){
            case 1:
                System.out.println("取款");
                break;
            case 2:
                System.out.println("存款");
                break;
            case 3:
                System.out.println("转账");
                break;

            case 4:
                System.out.println("退出");
                break;
                default:
                System.out.println("输入错误");
        }
        */


       // int num = (int)(Math.random()*100+1);
        /*System.out.println("猜吧");
        int guess = scan.nextInt();
        while (guess!=num){

            if(guess>num){
                System.out.println("猜大了");
            }else{
                System.out.println("猜小了");

            }
            System.out.println("猜吧");
            guess=scan.nextInt();


        }
        System.out.println("恭喜你猜对了");*/


        /*int guess;
        do {
            System.out.println("猜吧");
            guess = scan.nextInt();
            if (guess>num){
                System.out.println("猜大了");
            }else if (guess<num){
                System.out.println("猜小了");
            }else{
                System.out.println("恭喜你猜对了");
            }
        }while (guess!=num);*/

        for (int num=0;num<5;num++){
            System.out.println("行动是成功的阶梯");

        }
        for(int num=1;num<=9;num++){
            System.out.println(num+"*9="+num*9);
        }
        for (int num=1;num<=9;num+=2){
            System.out.println(num+"*9="+num*9);
        }
        for (int num=9;num>=1;num--){
            System.out.println(num+"*9="+num*9);
        }



    }
}
